package com.ttj.domain.oracle.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperSysconfRecCategory implements Serializable {
    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 总类
     */
    private String oneCategory;

    /**
     * 二类
     */
    private String twoCategory;

    /**
     * 细类
     */
    private String detailCategory;

    /**
     * 价格(居民)
     */
    private Double price;

    /**
     * 插入时间
     */
    private Date indate;

    /**
     * 修改时间
     */
    private Date modifTime;

    /**
     * 操作用户
     */
    private String author;

    /**
     * 学生价格
     */
    private Double studentPrice;

    /**
     * 大宗客户
     */
    private Double companyPrice;

    /**
     * 企事业
     */
    private Double enterprisesPrice;

    /**
     * 单位；1-个；0-公斤
     */
    private Integer uint;

    /**
     * 价格是否；1-可变；2-不可变
     */
    private Integer isChange;

    /**
     * 是否常用 ；1-常用；0-不常用
     */
    private Integer isChangyong;

    /**
     * 删除状态；1-已删除
     */
    private Integer isDel;

    /**
     * 拉货时是否含有件（0-没有件；1-有件）
     */
    private Integer isPackage;

    /**
     * 减碳系数
     */
    private Double tanXishu;

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * 主键ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 总类
     */
    public String getOneCategory() {
        return oneCategory;
    }

    /**
     * 总类
     */
    public void setOneCategory(String oneCategory) {
        this.oneCategory = oneCategory;
    }

    /**
     * 二类
     */
    public String getTwoCategory() {
        return twoCategory;
    }

    /**
     * 二类
     */
    public void setTwoCategory(String twoCategory) {
        this.twoCategory = twoCategory;
    }

    /**
     * 细类
     */
    public String getDetailCategory() {
        return detailCategory;
    }

    /**
     * 细类
     */
    public void setDetailCategory(String detailCategory) {
        this.detailCategory = detailCategory;
    }

    /**
     * 价格(居民)
     */
    public Double getPrice() {
        return price;
    }

    /**
     * 价格(居民)
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * 插入时间
     */
    public Date getIndate() {
        return indate;
    }

    /**
     * 插入时间
     */
    public void setIndate(Date indate) {
        this.indate = indate;
    }

    /**
     * 修改时间
     */
    public Date getModifTime() {
        return modifTime;
    }

    /**
     * 修改时间
     */
    public void setModifTime(Date modifTime) {
        this.modifTime = modifTime;
    }

    /**
     * 操作用户
     */
    public String getAuthor() {
        return author;
    }

    /**
     * 操作用户
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 学生价格
     */
    public Double getStudentPrice() {
        return studentPrice;
    }

    /**
     * 学生价格
     */
    public void setStudentPrice(Double studentPrice) {
        this.studentPrice = studentPrice;
    }

    /**
     * 大宗客户
     */
    public Double getCompanyPrice() {
        return companyPrice;
    }

    /**
     * 大宗客户
     */
    public void setCompanyPrice(Double companyPrice) {
        this.companyPrice = companyPrice;
    }

    /**
     * 企事业
     */
    public Double getEnterprisesPrice() {
        return enterprisesPrice;
    }

    /**
     * 企事业
     */
    public void setEnterprisesPrice(Double enterprisesPrice) {
        this.enterprisesPrice = enterprisesPrice;
    }

    /**
     * 单位；1-个；0-公斤
     */
    public Integer getUint() {
        return uint;
    }

    /**
     * 单位；1-个；0-公斤
     */
    public void setUint(Integer uint) {
        this.uint = uint;
    }

    /**
     * 价格是否；1-可变；2-不可变
     */
    public Integer getIsChange() {
        return isChange;
    }

    /**
     * 价格是否；1-可变；2-不可变
     */
    public void setIsChange(Integer isChange) {
        this.isChange = isChange;
    }

    /**
     * 是否常用 ；1-常用；0-不常用
     */
    public Integer getIsChangyong() {
        return isChangyong;
    }

    /**
     * 是否常用 ；1-常用；0-不常用
     */
    public void setIsChangyong(Integer isChangyong) {
        this.isChangyong = isChangyong;
    }

    /**
     * 删除状态；1-已删除
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 删除状态；1-已删除
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 拉货时是否含有件（0-没有件；1-有件）
     */
    public Integer getIsPackage() {
        return isPackage;
    }

    /**
     * 拉货时是否含有件（0-没有件；1-有件）
     */
    public void setIsPackage(Integer isPackage) {
        this.isPackage = isPackage;
    }

    /**
     * 减碳系数
     */
    public Double getTanXishu() {
        return tanXishu;
    }

    /**
     * 减碳系数
     */
    public void setTanXishu(Double tanXishu) {
        this.tanXishu = tanXishu;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", oneCategory=").append(oneCategory);
        sb.append(", twoCategory=").append(twoCategory);
        sb.append(", detailCategory=").append(detailCategory);
        sb.append(", price=").append(price);
        sb.append(", indate=").append(indate);
        sb.append(", modifTime=").append(modifTime);
        sb.append(", author=").append(author);
        sb.append(", studentPrice=").append(studentPrice);
        sb.append(", companyPrice=").append(companyPrice);
        sb.append(", enterprisesPrice=").append(enterprisesPrice);
        sb.append(", uint=").append(uint);
        sb.append(", isChange=").append(isChange);
        sb.append(", isChangyong=").append(isChangyong);
        sb.append(", isDel=").append(isDel);
        sb.append(", isPackage=").append(isPackage);
        sb.append(", tanXishu=").append(tanXishu);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperSysconfRecCategory other = (SuperSysconfRecCategory) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOneCategory() == null ? other.getOneCategory() == null : this.getOneCategory().equals(other.getOneCategory()))
            && (this.getTwoCategory() == null ? other.getTwoCategory() == null : this.getTwoCategory().equals(other.getTwoCategory()))
            && (this.getDetailCategory() == null ? other.getDetailCategory() == null : this.getDetailCategory().equals(other.getDetailCategory()))
            && (this.getPrice() == null ? other.getPrice() == null : this.getPrice().equals(other.getPrice()))
            && (this.getIndate() == null ? other.getIndate() == null : this.getIndate().equals(other.getIndate()))
            && (this.getModifTime() == null ? other.getModifTime() == null : this.getModifTime().equals(other.getModifTime()))
            && (this.getAuthor() == null ? other.getAuthor() == null : this.getAuthor().equals(other.getAuthor()))
            && (this.getStudentPrice() == null ? other.getStudentPrice() == null : this.getStudentPrice().equals(other.getStudentPrice()))
            && (this.getCompanyPrice() == null ? other.getCompanyPrice() == null : this.getCompanyPrice().equals(other.getCompanyPrice()))
            && (this.getEnterprisesPrice() == null ? other.getEnterprisesPrice() == null : this.getEnterprisesPrice().equals(other.getEnterprisesPrice()))
            && (this.getUint() == null ? other.getUint() == null : this.getUint().equals(other.getUint()))
            && (this.getIsChange() == null ? other.getIsChange() == null : this.getIsChange().equals(other.getIsChange()))
            && (this.getIsChangyong() == null ? other.getIsChangyong() == null : this.getIsChangyong().equals(other.getIsChangyong()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getIsPackage() == null ? other.getIsPackage() == null : this.getIsPackage().equals(other.getIsPackage()))
            && (this.getTanXishu() == null ? other.getTanXishu() == null : this.getTanXishu().equals(other.getTanXishu()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOneCategory() == null) ? 0 : getOneCategory().hashCode());
        result = prime * result + ((getTwoCategory() == null) ? 0 : getTwoCategory().hashCode());
        result = prime * result + ((getDetailCategory() == null) ? 0 : getDetailCategory().hashCode());
        result = prime * result + ((getPrice() == null) ? 0 : getPrice().hashCode());
        result = prime * result + ((getIndate() == null) ? 0 : getIndate().hashCode());
        result = prime * result + ((getModifTime() == null) ? 0 : getModifTime().hashCode());
        result = prime * result + ((getAuthor() == null) ? 0 : getAuthor().hashCode());
        result = prime * result + ((getStudentPrice() == null) ? 0 : getStudentPrice().hashCode());
        result = prime * result + ((getCompanyPrice() == null) ? 0 : getCompanyPrice().hashCode());
        result = prime * result + ((getEnterprisesPrice() == null) ? 0 : getEnterprisesPrice().hashCode());
        result = prime * result + ((getUint() == null) ? 0 : getUint().hashCode());
        result = prime * result + ((getIsChange() == null) ? 0 : getIsChange().hashCode());
        result = prime * result + ((getIsChangyong() == null) ? 0 : getIsChangyong().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getIsPackage() == null) ? 0 : getIsPackage().hashCode());
        result = prime * result + ((getTanXishu() == null) ? 0 : getTanXishu().hashCode());
        return result;
    }
}